package com.dks.repository;

import java.util.*;
import com.dks.models.Poster;
import com.dks.result.ResultModel;

public interface IPosterRepository {

    Integer insert(Poster poster);

    Integer update(Poster poster);

    Integer delete(Integer id);

    Poster select(Integer id);

    Integer cntByMap(Map<String, Object> map);

    List<Integer> getByMap(Map<String, Object> map);

    List<Poster> getByMapList(Map<String, Object> map);

    Integer updateByCode(Poster poster);

    Poster selectByBfCode(String bfCode);

    ResultModel<Object> getPosterList(Integer pageNum, Integer pageSize);
}
